package com.vietnam.power.service;

import java.util.List;

import com.vietnam.power.domain.AppConfiguration;
import com.vietnam.power.domain.PaymentMethod;
import com.vietnam.power.domain.PaymentMethodSearchCriteria;

public interface AppConfigurationService {

	/**
	 * getAppConfigurations
	 * 
	 * @return
	 */
	public List<AppConfiguration> getAppConfigurations();

	/**
	 * getAppConfigurationByName
	 * 
	 * @param name
	 * @return
	 */
	public AppConfiguration getAppConfigurationByName(String name);

	/**
	 * getPaymentMethod
	 * 
	 * @return
	 */
	public List<PaymentMethod> getPaymentMethod();

	public PaymentMethod getPaymentMethodById(int id);
	
	public void deletePaymentMethod(int id);
	
	public void updatePaymentMethod(PaymentMethod pm);
	
	public void createPaymentMethod(PaymentMethod pm);
	
	public List<PaymentMethod> searchPaymentMethod(PaymentMethodSearchCriteria s);
}
